import request from '@/plugin/axios'

const api = process.env.VUE_APP_REAL_API

export function fetchRealTimeTowerCraneData() {
  return request({
    url: api + '/api/getTowerDataInfo?project_name=neTower'
  })
}

export function fetchRealTimeElevatorData() {
  return request({
    url: api + '/api/getElevatorDataLatest?project_name=neElevator',
    method: 'get'
  })
}
